﻿namespace ch05.binary.wasm_reader
{
    public partial struct WasmReader
    {
        private byte ReadZero()
        {
            var b = ReadByte();
            if (b != 0)
            {
                Panic.Run("zero flag expected, got {0:D}", b);
            }

            return 0;
        }
    }
}